export const MenuMap = {
  'bpmn:StartEvent': {
    group: 'event',
    className: 'bpmn-icon-start-event-none',
    title: '开始节点',
  },
  'bpmn:EndEvent': {
    group: 'event',
    className: 'bpmn-icon-end-event-none',
    title: '结束节点',
  },
  'bpmn:IntermediateTimerEvent': {
    group: 'event',
    className: 'bpmn-icon-intermediate-event-catch-timer',
    title: '定时事件',
    businessObject:  { eventDefinitionType: 'bpmn:TimerEventDefinition' }
  },
  'bpmn:IntermediateThrowEvent': {
    group: 'event',
    className: 'bpmn-icon-intermediate-event-none',
    title: '错误边界',
  },
  'bpmn:UserTask': {
    group: 'activity',
    className: 'bpmn-icon-user-task',
    title: '用户任务',
    businessObject: { showForm: true }
  },
  'bpmn:ServiceTask': {
    group: 'activity',
    className: 'bpmn-icon-service-task',
    title: '服务任务',
  },
  'bpmn:InvokeTask':{
    group: 'activity',
    className: 'bpmn-icon-manual-task',
    title: '自定义元素',
  },
  'bpmn:ScriptTask': {
    group: 'activity',
    className: 'bpmn-icon-script-task',
    title: '脚本任务',
  },
  'bpmn:SubProcess': {
    group: 'activity',
    className: 'bpmn-icon-subprocess-expanded',
    title: '子流程',
  },
  'bpmn:ExclusiveGateway': {
    group: 'gateway',
    className: 'bpmn-icon-gateway-xor',
    title: '排他网关',
  },
  'bpmn:ParallelGateway': {
    group: 'gateway',
    className: 'bpmn-icon-gateway-parallel',
    title: '并行网关',
  },
  'bpmn:InclusiveGateway': {
    group: 'gateway',
    className: 'bpmn-icon-gateway-or',
    title: '包容网关',
  },
  'bpmn:Participant': {
    group: 'collaboration',
    className: 'bpmn-icon-participant',
    title: '泳池/泳道',
  },
  'bpmn:TextAnnotation': {
    group: 'edit',
    className: 'bpmn-icon-text-annotation',
    title: '添加注释',
  }
}